﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraBars;
using QLKhachSan.DTO;
using System.Data.SqlClient;
using QLKhachSan.DAO;
using QLKhachSan.BUS;
using DevExpress.XtraEditors;

namespace QLKhachSan.GUI
{
    public partial class fThongKe : DevExpress.XtraBars.Ribbon.RibbonForm
    {
        public fThongKe()
        {
            InitializeComponent();
        }

        private void fPhieuVaHoaDon_Load(object sender, EventArgs e)
        {
            // Phieu Dat Phong
            dataGridViewPDP.DataSource = BUS_CTPhieuDatPhong.hienthiDanhSachCTPhieuDatBaoCao();
            // Phieu Den Thue Phong
            dataGridViewPD.DataSource = BUS_CTPhieuDen.hienthiDanhSachCTPhieuDenThongKe();
            // Dat Tiec
            dataGridViewDT.DataSource = BUS_CTDatTiec.hienthiDanhSachCTThongKe();
            // Dich Vu
            dataGridViewDV.DataSource = BUS_CTBangKeDichVu.hienthiDanhSachCTBangKeDichVuThongKe();
            // Den Bu
            dataGridViewPDB.DataSource = BUS_PhieuDenBu.hienthiDanhSachPhieuDenBuThongKe();

        }

       
        
    }
}